Skip to content

Commit f86e35c

Browse files
committed
Revert leftover test code
1 parent 5a2ca5d commit f86e35c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def my_new_compiler(**kw):
7171
)
7272

7373
build_id_patch = build_id
74-
if "." not in build_id_patch:
74+
if not "." in build_id_patch:
7575
build_id_patch += ".0"
7676
pywin32_version = "%d.%d.%s" % (
7777
sys.version_info.major,
@@ -327,7 +327,7 @@ def __init__(self, name, **kw):
327327

328328
# The stand-alone exchange SDK has these libs
329329
# Additional utility functions are only available for 32-bit builds.
330-
if platform.machine() not in ("AMD64", "ARM64"):
330+
if not platform.machine() in ("AMD64", "ARM64"):
331331
libs += " version user32 advapi32 Ex2KSdk sadapi netapi32"
332332
kw["libraries"] = libs
333333
WinExt_win32com.__init__(self, name, **kw)
@@ -928,7 +928,6 @@ def key_reverse_mc(a):
928928
return (e, b)
929929

930930
sources = sorted(sources, key=key_reverse_mc)
931-
raise Exception("breakpoint")
932931
return MSVCCompiler.compile(self, sources, **kwargs)
933932

934933
def spawn(self, cmd: MutableSequence[str]) -> None: # type: ignore[override] # More restrictive than supertype

0 commit comments

Comments
 (0)