Rohde-Schwarz / RsInstrument

RsInstrument is a Python remote-control communication module for Rohde & Schwarz SCPI-based Test and Measurement Instruments.
MIT License
72 stars 16 forks source link

pytest reporting a syntax error #20

Open okken opened 2 months ago

okken commented 2 months ago

When running pytest with RsInstrument installed, pytest is issuing a warning about a syntax error:

venv\Lib\site-packages\RsInstrument\RsInstrument.py:28
  C:\Users\okken\projects\mrt.cd\acceptance_tests\tests\venv\Lib\site-packages\RsInstrument\RsInstrument.py:28: SyntaxWarning: invalid escape sequence '\*'
    """Initializes new RsInstrument session. \n

I think it doesn't like the newline in a triple quoted docstring. Easy fix.