From 28f7446856e8363458c9fd0488243f4432b2d1e0 Mon Sep 17 00:00:00 2001 From: ojs1g14 <ojs1g14@soton.ac.uk> Date: Fri, 28 Sep 2018 16:44:24 +0100 Subject: [PATCH] Update sample_test.py --- tests/sample_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sample_test.py b/tests/sample_test.py index 787b817..3759776 100644 --- a/tests/sample_test.py +++ b/tests/sample_test.py @@ -45,8 +45,8 @@ class TestBasicFunction(unittest.TestCase): stlPath = os.path.abspath(os.getcwd()) + "\\tests\\sample_stl_sphere_BIN.stl" from AmpScan.core import AmpObject Amp = AmpObject(stlPath) - #with self.assertRaises(TypeError): - #Amp.planarTrim([], []) + with self.assertRaises(TypeError): + Amp.planarTrim([], plane=[]) if __name__ == '__main__': -- GitLab