Exemplo n.º 1
0
 def test_empty(self):
     with self.assertRaisesRegexp(SystemExit, ''):
         net_run.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_gan.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_segment.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_regress.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_autoencoder.main()
Exemplo n.º 2
0
 def test_empty(self):
     with self.assertRaisesRegexp(SystemExit, ''):
         net_run.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_gan.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_segment.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_regress.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_autoencoder.main()