Skip to content

Commit aa878f0

Browse files
authored
gh-78997: fix bad rebase of moved test file (#100424)
1 parent a021612 commit aa878f0

File tree

2 files changed

+6
-188
lines changed

2 files changed

+6
-188
lines changed

Lib/ctypes/test/test_loading.py

-188
This file was deleted.

Lib/test/test_ctypes/test_loading.py

+6
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ def test_1703286_B(self):
116116
# This is the real test: call the function via 'call_function'
117117
self.assertEqual(0, call_function(proc, (None,)))
118118

119+
@unittest.skipUnless(os.name == "nt",
120+
'test specific to Windows')
121+
def test_load_hasattr(self):
122+
# bpo-34816: shouldn't raise OSError
123+
self.assertFalse(hasattr(windll, 'test'))
124+
119125
@unittest.skipUnless(os.name == "nt",
120126
'test specific to Windows')
121127
def test_load_dll_with_flags(self):

0 commit comments

Comments
 (0)