Skip to content
Snippets Groups Projects
  1. Aug 01, 2024
  2. Jun 18, 2024
  3. Jun 14, 2024
  4. Jun 12, 2024
  5. Jun 03, 2024
  6. May 29, 2024
  7. May 28, 2024
  8. May 23, 2024
  9. May 22, 2024
    • Bartosz Golaszewski's avatar
      bindings: python: tests: fix invalid syntax warnings · 3ece522b
      Bartosz Golaszewski authored
      
      Use double '/' for escaping regex special characters for patterns in
      python strings to silence the following warnings:
      
      bindings/python/tests/tests_edge_event.py:211: SyntaxWarning: invalid escape sequence '\.'
        "<EdgeEvent type=Type\.RISING_EDGE timestamp_ns=[0-9]+ line_offset=0 global_seqno=1 line_seqno=1>",
      bindings/python/tests/tests_info_event.py:188: SyntaxWarning: invalid escape sequence '\.'
        '<InfoEvent type=Type\.LINE_REQUESTED timestamp_ns=[0-9]+ line_info=<LineInfo offset=0 name="None" used=True consumer="\?" direction=Direction\.INPUT active_low=False bias=Bias\.UNKNOWN drive=Drive\.PUSH_PULL edge_detection=Edge\.NONE event_clock=Clock\.MONOTONIC debounced=False debounce_period=0:00:00>>',
      
      Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
      3ece522b
  10. May 15, 2024
  11. May 13, 2024
  12. May 07, 2024
  13. Apr 24, 2024
  14. Apr 22, 2024
  15. Apr 10, 2024
  16. Apr 08, 2024
Loading