leezu commented on a change in pull request #19154: URL: https://github.com/apache/incubator-mxnet/pull/19154#discussion_r488980257
########## File path: tests/python/gpu/test_profiler_gpu.py ########## @@ -23,12 +23,16 @@ import mxnet as mx mx.test_utils.set_default_context(mx.gpu(0)) +from mxnet.gluon.block import _block_scope + curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__))) sys.path.insert(0, os.path.join(curr_path, '../unittest')) -from mxnet import profiler -from mxnet.gluon import nn -from mxnet.gluon.block import _block_scope -from test_profiler import enable_profiler +# We import all tests from ../unittest/test_profiler.py +# They will be detected by test framework, as long as the current file has a different filename +from test_profiler import * +# Test seen to crash pytest worker during development of +# https://github.com/apache/incubator-mxnet/pull/18694 +del test_aggregate_duplication Review comment: @Zha0q1 it was skipped as part of https://github.com/apache/incubator-mxnet/pull/18694/commits/60dda9ba884bb35be1ac1a9bd16a2a917073e9ed I'm not sure about the exact error. Maybe you can just re-enable the test and it will pass. Did you run the complete test file during your trial or only the test in question? There could be issues related to running all tests in the file. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
