import pytest
import mdct.windows


def test_kbd():
    mdct.windows.kaiser_derived(50)

import pytest
import mdct.windows


def test_kbd():
    mdct.windows.kaiser_derived(50)

    with pytest.raises(ValueError):
        mdct.windows.kaiser_derived(51)

Test that asserts odd numbered windows dont work
Test that asserts odd numbered windows dont work

  import pytest
  import mdct.windows
  
  
  def test_kbd():
      mdct.windows.kaiser_derived(50)
  
+     with pytest.raises(ValueError):
+         mdct.windows.kaiser_derived(51)
+ 
Test that asserts odd numbered windows dont work
## Code Before:
import pytest
import mdct.windows


def test_kbd():
    mdct.windows.kaiser_derived(50)

## Instruction:
Test that asserts odd numbered windows dont work
## Code After:
import pytest
import mdct.windows


def test_kbd():
    mdct.windows.kaiser_derived(50)

    with pytest.raises(ValueError):
        mdct.windows.kaiser_derived(51)
