diff options
Diffstat (limited to 'gerber')
-rw-r--r-- | gerber/gerber_statements.py | 2 | ||||
-rw-r--r-- | gerber/tests/test_gerber_statements.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gerber/gerber_statements.py b/gerber/gerber_statements.py index 4e5ed77..b56be0a 100644 --- a/gerber/gerber_statements.py +++ b/gerber/gerber_statements.py @@ -720,7 +720,7 @@ class SFParamStmt(ParamStmt): def __str__(self): scale_factor = '' if self.a is not None: - scale_factor += ('X: %g' % self.a) + scale_factor += ('X: %g ' % self.a) if self.b is not None: scale_factor += ('Y: %g' % self.b) return ('<Scale Factor: %s>' % scale_factor) diff --git a/gerber/tests/test_gerber_statements.py b/gerber/tests/test_gerber_statements.py index 9032268..831ff3a 100644 --- a/gerber/tests/test_gerber_statements.py +++ b/gerber/tests/test_gerber_statements.py @@ -283,7 +283,7 @@ def test_SFParamStmt_offset(): def test_SFParamStmt_string(): stmt = {'param': 'SF', 'a': '1.4', 'b': '0.9'} sf = SFParamStmt.from_dict(stmt) - assert_equal(str(sf), '<Scale Factor: X: 1.4Y: 0.9>') + assert_equal(str(sf), '<Scale Factor: X: 1.4 Y: 0.9>') def test_LPParamStmt_factory(): """ Test LPParamStmt factory |