mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-16 02:35:49 +00:00
* This includes: - Incorrect comparisons - Missing type annotations where it can't be inferred - Variable shadowing and bad use - Unused imports - asserts for non-None on types * Passes clean on strict pyright checking except for `reportMissingParameterType`, `reportUnusedVariable`, and `reportOptionalMemberAccess` which are all too spammy and low value to be worth addressing.
17 lines
494 B
Python
17 lines
494 B
Python
import rdtest
|
|
|
|
|
|
class GL_Texture_Zoo(rdtest.TestCase):
|
|
slow_test = True
|
|
demos_test_name = 'GL_Texture_Zoo'
|
|
|
|
def __init__(self):
|
|
rdtest.TestCase.__init__(self)
|
|
self.zoo_helper = rdtest.Texture_Zoo()
|
|
|
|
def check_capture(self):
|
|
assert self.controller is not None
|
|
# This takes ownership of the controller and shuts it down when it's finished
|
|
self.zoo_helper.check_capture(self.capture_filename, self.controller)
|
|
self.controller = None
|