def METHOD_NAME(self):
    # ERROR_ALREADY_EXISTS (183) -> EEXIST
    e = OSError(0, "File already exists", "foo.txt", 183)
    self.assertEqual(e.winerror, 183)
    self.assertEqual(e.errno, EEXIST)
    self.assertEqual(e.args[0], EEXIST)
    self.assertEqual(e.strerror, "File already exists")
    self.assertEqual(e.filename, "foo.txt")