Project

Profile

Help

Revision c89c6b5b

Added by Vincent Le Goff over 4 years ago

Add the feature to write SharpScript

View differences:

src/tests/sharp/test_syntax.py
92 92
            "say('A message', braille=False, speech=True)"
93 93
        ])
94 94

  
95
    def test_python(self):
96
        """Test Python code in SharpScript."""
95
    def test_python_top(self):
96
        """Test Python code in SharpScript at the top level."""
97 97
        statements = self.engine.feed("""{+
98 98
            print 1
99 99
            print 3

Also available in: Unified diff