File: run_simple_test.py

package info (click to toggle)
brian 2.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,872 kB
  • sloc: python: 51,820; cpp: 2,033; makefile: 108; sh: 72
file content (9 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
# Run a simple test that uses the main simulation elements and force code
# generation to use Cython
from brian2 import prefs
from brian2.tests.test_synapses import test_transmission_simple

if __name__ == '__main__':
    prefs.codegen.target = 'cython'

    test_transmission_simple()