Skip to content
Snippets Groups Projects
Commit 353c684f authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Remove some `ifmain` in tests

parent 1986b681
No related branches found
No related tags found
No related merge requests found
...@@ -149,10 +149,3 @@ def test_generate_kernel_call_only_texture_for_one_field(): ...@@ -149,10 +149,3 @@ def test_generate_kernel_call_only_texture_for_one_field():
code = FrameworkIntegrationPrinter()(wrapper) code = FrameworkIntegrationPrinter()(wrapper)
print(code) print(code)
def main():
test_generate_kernel_call_only_texture_for_one_field()
if __name__ == '__main__':
main()
...@@ -102,11 +102,4 @@ def test_module_printing_globals(): ...@@ -102,11 +102,4 @@ def test_module_printing_globals():
print(module) print(module)
def main():
test_module_printing()
test_module_printing_parameter()
test_module_printing_globals()
if __name__ == '__main__':
main()
...@@ -4,10 +4,10 @@ import os ...@@ -4,10 +4,10 @@ import os
import numpy as np import numpy as np
import pytest import pytest
import sympy as sp
import pystencils as ps import pystencils as ps
import pystencils_autodiff import pystencils_autodiff
import sympy as sp
from test_utils.gradient_check_tensorflow import compute_gradient_error_without_border from test_utils.gradient_check_tensorflow import compute_gradient_error_without_border
...@@ -414,7 +414,3 @@ def test_tfmad_two_outputs(): ...@@ -414,7 +414,3 @@ def test_tfmad_two_outputs():
print('Backward') print('Backward')
print(curl_op.backward_assignments) print(curl_op.backward_assignments)
# if __name__ == "__main__":
# test_tfmad_gradient_check_torch_native(True, False)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment