Remove unused nonlocals in tests
This commit is contained in:
@@ -71,7 +71,7 @@ def testToolBuildSettings_Init(qtbot, nwGUI, projPath, mockRnd):
|
||||
|
||||
@pyqtSlot(BuildSettings)
|
||||
def _testNewSettingsReady(new: BuildSettings):
|
||||
nonlocal build, triggered
|
||||
nonlocal triggered
|
||||
assert new is build
|
||||
triggered = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user