Skip to content

Commit

Permalink
gh-78997: fix bad rebase of moved test file (#100424)
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-schwartz authored Dec 22, 2022
1 parent a021612 commit aa878f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 188 deletions.
188 changes: 0 additions & 188 deletions Lib/ctypes/test/test_loading.py

This file was deleted.

6 changes: 6 additions & 0 deletions Lib/test/test_ctypes/test_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ def test_1703286_B(self):
# This is the real test: call the function via 'call_function'
self.assertEqual(0, call_function(proc, (None,)))

@unittest.skipUnless(os.name == "nt",
'test specific to Windows')
def test_load_hasattr(self):
# bpo-34816: shouldn't raise OSError
self.assertFalse(hasattr(windll, 'test'))

@unittest.skipUnless(os.name == "nt",
'test specific to Windows')
def test_load_dll_with_flags(self):
Expand Down

0 comments on commit aa878f0

Please sign in to comment.