File: test_coverup_112.py

package info (click to toggle)
scalene 1.5.51-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,528 kB
  • sloc: cpp: 22,930; python: 13,403; javascript: 11,769; ansic: 817; makefile: 196; sh: 45
file content (15 lines) | stat: -rw-r--r-- 499 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# file scalene/scalene_profiler.py:109-110
# lines [109, 110]
# branches []

import pytest

# Assuming the nada function is a standalone function in the scalene_profiler module.

def test_nada():
    from scalene.scalene_profiler import nada
    # Call the nada function with arbitrary arguments
    nada(1, "test", None)
    # Since nada does nothing, there's no state change to assert.
    # The test is simply to ensure the line is executed for coverage.
    assert True  # Placeholder assertion